<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
<h1>请登录</h1>
<form th:action="@{login}" th:method="post">
    用户名: <input th:name="username" th:type="text"/><br>
    密码:<input th:name="password" th:type="password"><br>
    <input th:type="submit" value="提交"/>
</form>
</body>
</html>